SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55128: A Stored Process for a business Rule Flow has a memory leak if the stored process is used by multiple users

DetailsAboutRate It

In SAS® Business Rules Manager, there is a memory leak when a Stored Process for a business Rule Flow is executed by multiple users. The Stored Process Server becomes unusable after it runs for a while.

To work around the problem, follow these steps:

  1. Open SAS® Management Console.
  2. Navigate in the SAS Folders view to the folder in which you created the stored process.
  3. Locate the stored process in the right-hand panel.
  4. Right-click and select Properties.
  5. Click the Execution tab.
  6. Click the Edit Source Code button.
  7. Scroll to the bottom of the code. A macro call that is similar to this is displayed:

    /* Standard code generation macro call.*/ %brm_rule_flow( inputtable=work.TEMPLIB, mapping=work.WB0UDTRY, filelocation=WTYUVCYQ, debugcodelocation=, RuleFire=N );
  8. Add a THREADCOUNT=1 parameter to this macro. Example:

    /* Standard code generation macro call.*/ %brm_rule_flow( inputtable=work.TEMPLIB, mapping=work.WB0UDTRY, filelocation=WTYUVCYQ, debugcodelocation=, RuleFire=N, threadcount=1 );


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Business Rules ManagerMicrosoft® Windows® for x642.23.19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit2.23.19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise x642.23.19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Pro 32-bit2.23.19.4 TS1M29.4 TS1M3
Microsoft Windows 8 Pro x642.23.19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit2.23.19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise x642.23.19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro2.23.19.4 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit2.23.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 20082.23.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2008 R22.23.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2008 for x642.23.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Datacenter2.23.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter2.23.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Std2.23.19.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Std2.23.19.4 TS1M29.4 TS1M3
Windows 7 Enterprise 32 bit2.23.19.4 TS1M29.4 TS1M3
Windows 7 Enterprise x642.23.19.4 TS1M29.4 TS1M3
Windows 7 Home Premium 32 bit2.23.19.4 TS1M29.4 TS1M3
Windows 7 Home Premium x642.23.19.4 TS1M29.4 TS1M3
Windows 7 Professional 32 bit2.23.19.4 TS1M29.4 TS1M3
Windows 7 Professional x642.23.19.4 TS1M29.4 TS1M3
Windows 7 Ultimate 32 bit2.23.19.4 TS1M29.4 TS1M3
Windows 7 Ultimate x642.23.19.4 TS1M29.4 TS1M3
64-bit Enabled AIX2.23.19.4 TS1M29.4 TS1M3
64-bit Enabled Solaris2.23.19.4 TS1M29.4 TS1M3
HP-UX IPF2.23.19.4 TS1M29.4 TS1M3
Linux for x642.23.19.4 TS1M29.4 TS1M3
Solaris for x642.23.19.4 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.